<template>
	<view>
		<view class="header  borde-padd-24">
			<view class="header-left" @click="goPages">
			</view>
			<view class="baocunComben" v-if="!isBaocUNsmen" @click="$emit('baocUNsmen')">
				<text>保存</text>
			</view>
		</view>
		<view style="height: 90rpx;"></view>
	</view>
</template>

<script>
	export default{
		props:{
			isBaocUNsmen:{
				type:[Boolean],
				default:()=>false
			},
			className:{
				type:[String],
				default:()=>''
			},
		},
		data(){
			return {
				imgUrl:this.imgUrl,
			}
		},
		methods:{
			goPages(path){
				uni.navigateBack({ delta: 1 })
			},
		}
	}
</script>

<style scoped>
	.header{
		height: 90rpx;
		position: fixed;
		left: 0;
		line-height: 90rpx;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}
	.title{
		font-family: PingFang SC, PingFang SC;
		font-weight: 500;
		font-size: 32rpx;
		width: 100%;
		color: #0D0E0F;
		margin: 0 auto;
		text-align: center;
		font-style: normal;
		text-transform: none;
	}
	.header-left {
		margin-left: 14rpx;
	}
	.header-left .img{
		width: 30rpx;
		height: 30rpx;
		transform: rotate(-180deg);
	}
	.header-right{
		font-family: PingFang SC, PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #3B5EEC;
		font-style: normal;
		text-transform: none;
	}
	.header-right {
		position: absolute;
		right: 24rpx;
		top: 50%;
		transform: translate(0,-50%);
	}
	.header-right .img{
		width: 32rpx;
		height: 32rpx;
		margin-right: 5rpx;
	}
	.consemsy{
		display: flex;
		align-content: space-between;
		padding-top: 40rpx;
	}
	.baocunComben{
		width: 120rpx;
		height: 64rpx;
		text-align: center;
		line-height: 64rpx;
		background: #3B5EEC;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 500;
		font-size: 28rpx;
		color: #FFFFFF;
		font-style: normal;
		text-transform: none;
	}
</style>

